import React from "react"
import {List} from "antd-mobile"


const Component = (props)=>{
  console.log("this is listPops",props)
  const {text,lists} = props
  return (
    <div>
      <h1>list Components {text}</h1>
      <List>
        {
          lists.map((item,index)=>{
            return <List.Item key={index}>{item}</List.Item>
          })
        }
      </List>
    </div>

  )
}
export default Component